home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1995 March / Macworld CD-ROM (March 1995).cdr / Updaters / AppMaker 1.5.2->1.5.4 / Libraries / THINK / AMClassLibC / CAMPopupPane.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-24  |  988 b   |  37 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  CAMPopupPane.h
  3.  
  4.         Interface for CAMStdPopupPane.c
  5.         
  6.         Copyright © 1991 Bowers Development Corporation. All rights reserved.
  7.         
  8.  ******************************************************************************/
  9.  
  10. #pragma once
  11.  
  12. #include <CStdPopupPane.h>
  13. #include "AMUtilities.h"
  14.  
  15. /*--------*/
  16. class CAMPopupPane : public CStdPopupPane {
  17. public:
  18.     void    IViewTemp            (CView            *anEnclosure,
  19.                                   CBureaucrat    *aSupervisor,
  20.                                  Ptr            viewData);        // is override
  21.     void    MakePopupMenu        (short            menuID, 
  22.                                  Boolean        fAutoSelect,
  23.                                  Boolean        fMultiSelect);    // is override
  24.     void    CalcDimensions        (void);                            // is override
  25.     void    NewMenuSelection    (short            itemSelected);    // is override
  26.     void    PlaySound            (short            itemNr);
  27.  
  28. protected:
  29.     StylesP        saveTypeStyleP;
  30.  
  31. };    /* CAMPopupPane */
  32.  
  33. typedef struct {
  34.     StdPopupTemp    sStdPopupTemp;
  35.     StylesRec        typeStyle;
  36. } AMPopupTemp, *AMPopupTempP, **AMPopupTempHdl;
  37.